Metadata-Version: 2.1
Name: DevCssMonitorTools
Version: 0.0.1
Home-page: https://gitee.com/HarryG83/dev-css-monitor-tools
Author: HarryG83
Author-email: 18850383129@163.com
Description-Content-Type: text/markdown
License-File: LICENCE

DevCssMonitorTools
=========
DevCssMonitorTools是一个nicegui的动态刷新css插件

Installation / 安装
--------------------------
:: 
   pip install DevCssMonitorTools

Usage / 使用
--------------------------
   在根目录下创建main.py、style.css

   在main.py中增加

::
   from nicegui import ui
   from pathlib import Path

   from DevCssMonitorTools import DevCssMonitorTools
   css_file = Path(__file__).parent / "style.css"
   DevCssMonitorTools.add_live_css(local_file=css_file)

   ui.label("Hello World").classes("my-label")

   ui.run()

在style.css中增加
::
   .my-label {
       background: pink;
       color: black;
   }

